<!DOCTYPE html>
<html lang="en">
   <head>
      {{ headContent() }}
      <link rel="stylesheet" href="https://bootswatch.com/3/united/bootstrap.min.css">
   </head>
   <body>
      <nav class="navbar navbar-default">
         <div class="container-fluid">
            <div class="navbar-header">
               <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
               <span class="sr-only">Toggle navigation</span>
               <span class="icon-bar"></span>
               <span class="icon-bar"></span>
               <span class="icon-bar"></span>
               </button>
               <a class="navbar-brand" href="#">{{textOutput('title')}}</a>
            </div>
            <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
               <ul class="nav navbar-nav">
                  <li class="active"><a href="#">Link <span class="sr-only">(current)</span></a></li>
                  <li><a href="#">Link</a></li>
                  <li class="dropdown">
                     <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">Dropdown <span class="caret"></span></a>
                     <ul class="dropdown-menu" role="menu">
                        <li><a href="#">Action</a></li>
                        <li><a href="#">Another action</a></li>
                        <li><a href="#">Something else here</a></li>
                        <li class="divider"></li>
                        <li><a href="#">Separated link</a></li>
                        <li class="divider"></li>
                        <li><a href="#">One more separated link</a></li>
                     </ul>
                  </li>
               </ul>
               <form class="navbar-form navbar-left" role="search">
                  <div class="form-group">
                     <input type="text" class="form-control" placeholder="Search" id="search", name="search">
                  </div>
                  <button type="submit" class="btn btn-default">Submit</button>
               </form>
               <ul class="nav navbar-nav navbar-right">
                  <li><a href="#">Contact us</a></li>
               </ul>
            </div>
         </div>
      </nav>
      <div class="container">
         <div class="row" style="margin:5rem;">
            {{includeMarkdown("Readme.md")}}
            <div class="row bg-danger center-block" style="font-size:3rem;">
               {{textOutput('searchInput')}}
            </div>
         </div>
         <h1>Shiny HTML Template</h1>
         <strong>Summary of Dataset</strong>
         {{verbatimTextOutput('summary')}}   
         <div class="row">
            <div class="col-sm-6">
               <div class="panel panel-primary">
                  <div class="panel-heading">
                     <h3 class="panel-title">Plot 1</h3>
                  </div>
                  <div class="panel-body">
                     {{plotOutput('plot1')}}
                  </div>
               </div>
            </div>
            <div class="col-sm-6">
               <div class="panel panel-primary">
                  <div class="panel-heading">
                     <h3 class="panel-title">Plot 2</h3>
                  </div>
                  <div class="panel-body">
                     {{plotOutput('plot2')}}
                  </div>
               </div>
            </div>
            <table class="table table-striped table-hover success">
               {{tableOutput('table1')}}
            </table>
         </div>
      </div>
   </body>
</html>